<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <!-- 下拉框 -->
    <link rel="stylesheet" href="static/ace/css/chosen.css"/>
    <!-- jsp文件头和头部 -->
    <%@ include file="../base/top.jsp" %>
    <!-- 日期框 -->
    <link rel="stylesheet" href="static/ace/css/datepicker.css"/>
</head>
<body class="no-skin">
<div class="main-container" id="main-container">
    <div class="main-content">
        <div class="main-content-inner">
            <div class="breadcrumbs ace-save-state" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li class="active">
                        <i class="ace-icon fa fa-home home-icon"></i>
                        <a href="#">用户信息</a>
                    </li>

                </ul><!-- /.breadcrumb -->
            </div><!-- 导航栏 -->
            <div class="page-content">
                <div class="row">
                    <div class="col-md-3 col-md-offset-3 center">
                        <img src="static/ace/avatars/avatar.png"  style="height: 200px;" alt="Responsive image">
                    </div>
                    <div class="col-md-3 table-responsive" >
                        <table id="table_report" class="table" style="height: 400px;">
                            <tr >
                                <td style="width:79px;text-align: right; vertical-align: bottom;">姓名:</td>
                                <td style="vertical-align: bottom;">${teacherInfo.teaName}</td>
                            </tr>
                            <tr>
                                <td style="width:79px;text-align: right; vertical-align: bottom;">性别:</td>
                                <td style="vertical-align: bottom;">${teacherInfo.teaSex}</td>
                            </tr>
                            <tr>
                                <td style="width:79px;text-align: right; vertical-align: bottom;">工号:</td>
                                <td style="vertical-align: bottom;">${teacherInfo.teaId}</td>
                            </tr>
                            <tr>
                                <td style="width:79px;text-align: right; vertical-align: bottom;">学历:</td>
                                <td style="vertical-align: bottom;">${teacherInfo.teaEducation}</td>
                            </tr>
                            <tr>
                                <td style="width:79px;text-align: right; vertical-align: bottom;">职位:</td>
                                <td style="vertical-align: bottom;">${teacherInfo.teaPosition}</td>
                            </tr>
                            <tr>
                                <td style="width:79px;text-align: right;vertical-align: bottom;">入职年份:</td>
                                <td style="vertical-align: bottom;">${teacherInfo.teaEntryYear}</td>
                            </tr>
                            <tr>
                                <td style="width:79px;text-align: center;" colspan="2">
                                    <button type="button" class="btn btn-sm btn-purple no-border">
                                        修改密码
                                    </button>
                                </td>
                            </tr>
                        </table>
                    </div>

                    <!-- /.col -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.page-content -->
        </div>
    </div>
    <!-- /.main-content -->
    </div>
<div/>
<!-- 页面底部js¨ -->
<%@ include file="../base/foot.jsp" %>
<script>
    $(top.hangge());//关闭加载状态
    $("#img-responsive").addClass("center")
    $(document).ready(function () {
        if("${result.success}"=="false"){
            //弹错误提示框
            alert("查询失败");
        }
    })
</script>
</body>
</html>
